-- GENERATED SPELL FOR [Irradiated Slime] --


function spell0_6218(pUnit, Event) --@Radiation Cloud,Self--
pUnit:FullCastSpellOnTarget(10341,pUnit)
pUnit:RegisterEvent('Sorts_6218', 30000, 1)
end

function Sorts_6218(pUnit, Event)
local choix_sorts_6218 = math.random(0, 0)
if choix_sorts_6218 == 0 then
pUnit:RegisterEvent('spell0_6218', 1, 1)
end
end

function mob6218_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6218', math.random(1500, 3000), 1)
end

function mob6218_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6218_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6218_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6218, 1, 'mob6218_Action')
RegisterUnitEvent(6218, 2, 'mob6218_Leave')
RegisterUnitEvent(6218, 3, 'mob6218_Kill')
RegisterUnitEvent(6218, 4, 'mob6218_Die')
